package com.zfx.pojo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.HashMap;

/**
 * @description: 合同模板实体类
 * @author: zfx
 */
@Data
@Table(name = "tbs_template")
public class Template implements Serializable {

    private static final long serialVersionUID = 1L;

    public Template() { }

    public Template(HashMap<String, Integer> dataMap) {
        xqdyCpjl = dataMap.get("xqdyCpjl");
        xqdyXqfxs = dataMap.get("xqdyXqfxs");
        xtsjYyjgsjs = dataMap.get("xtsjYyjgsjs");
        xtsjJcptsjs = dataMap.get("xtsjJcptsjs");
        xtsjKhdapisjs = dataMap.get("xtsjKhdapisjs");
        xtsjQdsjfxs = dataMap.get("xtsjQdsjfxs");
        xtsjUisjs = dataMap.get("xtsjUisjs");
        xtkfJavayfgcs = dataMap.get("xtkfJavayfgcs");
        xtkfAzkfgcs = dataMap.get("xtkfAzkfgcs");
        xtkfCkfgcs = dataMap.get("xtkfCkfgcs");
        xtkfQdkfgcs = dataMap.get("xtkfQdkfgcs");
        xtcsCsgcs = dataMap.get("xtcsCsgcs");
        ywzcYwjl = dataMap.get("ywzcYwjl");
        xtssSsgcs = dataMap.get("xtssSsgcs");
        xmglXmzj = dataMap.get("xmglXmzj");
        jsglJszj = dataMap.get("jsglJszj");
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "modeId")
    private Integer modeId;

    @Column(name = "modeName")
    private String modeName;

    @Column(name = "xqdy_cpjl")
    private Integer xqdyCpjl;

    @Column(name = "xqdy_xqfxs")
    private Integer xqdyXqfxs;

    @Column(name = "xtsj_cpjl")
    private Integer xtsjCpjl;

    @Column(name = "xtsj_yyjgsjs")
    private Integer xtsjYyjgsjs;

    @Column(name = "xtsj_jcptsjs")
    private Integer xtsjJcptsjs;

    @Column(name = "xtsj_khdapisjs")
    private Integer xtsjKhdapisjs;

    @Column(name = "xtsj_qdsjfxs")
    private Integer xtsjQdsjfxs;

    @Column(name = "xtsj_uisjs")
    private Integer xtsjUisjs;

    @Column(name = "xtkf_javayfgcs")
    private Integer xtkfJavayfgcs;

    @Column(name = "xtkf_azkfgcs")
    private Integer xtkfAzkfgcs;

    @Column(name = "xtkf_pgkfgcs")
    private Integer xtkfPgkfgcs;

    @Column(name = "xtkf_ckfgcs")
    private Integer xtkfCkfgcs;

    @Column(name = "xtkf_qdkfgcs")
    private Integer xtkfQdkfgcs;

    @Column(name = "xtcs_csgcs")
    private Integer xtcsCsgcs;

    @Column(name = "ywzc_ywjl")
    private Integer ywzcYwjl;

    @Column(name = "xtss_ssgcs")
    private Integer xtssSsgcs;

    @Column(name = "xmgl_xmzj")
    private Integer xmglXmzj;

    @Column(name = "jsgl_jszj")
    private Integer jsglJszj;

    @Column(name = "jcpt_cpjl")
    private Integer jcptCpjl;

    @Column(name = "jcpt_xqfxs")
    private Integer jcptXqfxs;

    @Column(name = "jcpt_yyjgsjs")
    private Integer jcptYyjgsjs;

    @Column(name = "jcpt_jcptsjs")
    private Integer jcptJcptsjs;

    @Column(name = "jcpt_khdappsjs")
    private Integer jcptKhdappsjs;

    @Column(name = "jcpt_qdsjsjs")
    private Integer jcptQdsjsjs;

    @Column(name = "jcpt_uisjs")
    private Integer jcptUisjs;

    @Column(name = "jcpt_javayfgcs")
    private Integer jcptJavayfgcs;

    @Column(name = "jcpt_azkfgcs")
    private Integer jcptAzkfgcs;

    @Column(name = "jcpt_pgkfgcs")
    private Integer jcptPgkfgcs;

    @Column(name = "jcpt_ckfgcs")
    private Integer jcptCkfgcs;

    @Column(name = "jcpt_qdkfgcs")
    private Integer jcptQdkfgcs;

    @Column(name = "jcpt_csgcs")
    private Integer jcptCsgcs;

    @Column(name = "yyc_cpjl")
    private Integer yycCpjl;

    @Column(name = "yyc_xqfxs")
    private Integer yycXqfxs;

    @Column(name = "yyc_yyjgsjs")
    private Integer yycYyjgsjs;

    @Column(name = "yyc_jcptsjs")
    private Integer yycJcptsjs;

    @Column(name = "yyc_khdappsjs")
    private Integer yycKhdappsjs;

    @Column(name = "yyc_qdsjsjs")
    private Integer yycQdsjsjs;

    @Column(name = "yyc_uisjs")
    private Integer yycUisjs;

    @Column(name = "yyc_javayfgcs")
    private Integer yycJavayfgcs;

    @Column(name = "yyc_azkfgcs")
    private Integer yycAzkfgcs;

    @Column(name = "yyc_pgkfgcs")
    private Integer yycPgkfgcs;

    @Column(name = "yyc_ckfgcs")
    private Integer yycCkfgcs;

    @Column(name = "yyc_qdkfgcs")
    private Integer yycQdkfgcs;

    @Column(name = "yyc_csgcs")
    private Integer yycCsgcs;

    @Column(name = "jkc_cpjl")
    private Integer jkcCpjl;

    @Column(name = "jkc_xqfxs")
    private Integer jkcXqfxs;

    @Column(name = "jkc_yyjgsjs")
    private Integer jkcYyjgsjs;

    @Column(name = "jkc_jcptsjs")
    private Integer jkcJcptsjs;

    @Column(name = "jkc_khdappsjs")
    private Integer jkcKhdappsjs;

    @Column(name = "jkc_qdsjsjs")
    private Integer jkcQdsjsjs;

    @Column(name = "jkc_uisjs")
    private Integer jkcUisjs;

    @Column(name = "jkc_javayfgcs")
    private Integer jkcJavayfgcs;

    @Column(name = "jkc_azkfgcs")
    private Integer jkcAzkfgcs;

    @Column(name = "jkc_pgkfgcs")
    private Integer jkcPgkfgcs;

    @Column(name = "jkc_ckfgcs")
    private Integer jkcCkfgcs;

    @Column(name = "jkc_qdkfgcs")
    private Integer jkcQdkfgcs;

    @Column(name = "jkc_csgcs")
    private Integer jkcCsgcs;

    @Column(name = "fwc_cpjl")
    private Integer fwcCpjl;

    @Column(name = "fwc_xqfxs")
    private Integer fwcXqfxs;

    @Column(name = "fwc_yyjgsjs")
    private Integer fwcYyjgsjs;

    @Column(name = "fwc_jcptsjs")
    private Integer fwcJcptsjs;

    @Column(name = "fwc_khdappsjs")
    private Integer fwcKhdappsjs;

    @Column(name = "fwc_qdsjsjs")
    private Integer fwcQdsjsjs;

    @Column(name = "fwc_uisjs")
    private Integer fwcUisjs;

    @Column(name = "fwc_javayfgcs")
    private Integer fwcJavayfgcs;

    @Column(name = "fwc_azkfgcs")
    private Integer fwcAzkfgcs;

    @Column(name = "fwc_pgkfgcs")
    private Integer fwcPgkfgcs;

    @Column(name = "fwc_ckfgcs")
    private Integer fwcCkfgcs;

    @Column(name = "fwc_qdkfgcs")
    private Integer fwcQdkfgcs;

    @Column(name = "fwc_csgcs")
    private Integer fwcCsgcs;
}
